﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Hotel.Vendor.InterfacePlatformManage.Entity.HTicketEntity
{
    [Serializable]
    public class UserInfo
    {
        private string _username;
        private string _email;
        private string _eid;
        private bool ismanager;
        private bool isdeveloper;
        private bool isdealman;
        private string sender;
        private string recipient;
        private string content;
        private string flag;
        private string importance;
        private string solution;
        private string projectid;
        private bool isassign;

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName
        {
            get { return _username; }
            set { _username = value; }
        }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        /// <summary>
        /// EID
        /// </summary>
        public string EID
        {
            get { return _eid; }
            set { _eid = value; }
        }


        /// <summary>
        /// 是否是经理
        /// </summary>
        public bool IsManager
        {
            get { return ismanager; }
            set { ismanager = value; }
        }


        /// <summary>
        /// 是否是开发人员
        /// </summary>
        public bool IsDeveloper
        {
            get { return isdeveloper; }
            set { isdeveloper = value; }
        }


        /// <summary>
        /// 是否是处理人
        /// </summary>
        public bool IsDealMan
        {
            get { return isdealman; }
            set { isdealman = value; }
        }


        /// <summary>
        /// 邮件发送人
        /// </summary>
        public string Sender
        {
            get { return sender; }
            set { sender = value; }
        }


        /// <summary>
        /// 邮件接收人
        /// </summary>
        public string Recipient
        {
            get { return recipient; }
            set { recipient = value; }
        }

        /// <summary>
        /// 重要级别
        /// </summary>
        public string Importance
        {
            get { return importance; }
            set { importance = value; }
        }


        /// <summary>
        /// Q/A标记
        /// </summary>
        public string Flag
        {
            get { return flag; }
            set { flag = value; }
        }

        /// <summary>
        /// 邮件内容
        /// </summary>
        public string Content
        {
            get { return content; }
            set { content = value; }
        }


        /// <summary>
        /// 邮件标题
        /// </summary>
        public string Subject
        {
            get { return solution; }
            set { solution = value; }
        }


        /// <summary>
        /// XML配置文件中的项目Id
        /// </summary>
        public string ProjectID
        {
            get { return projectid; }
            set { projectid = value; }
        }


        /// <summary>
        /// 是否是分配人
        /// </summary>
        public bool IsAssign
        {
            get { return isassign; }
            set { isassign = value; }
        }

        /// <summary>
        /// 是否当前任务的经理
        /// </summary>
        public bool IsCurrentTaskIDManager { get; set; }


        /// <summary>
        /// 是否是查看用户
        /// </summary>
        public bool IsViewUser { get; set; }


        /// <summary>
        /// View角色是否能操作
        /// </summary>
        public bool IsOperate { get; set; }
    }
}
